package com.sx.pipeline.ui.territory.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.sx.pipeline.R
import com.sx.pipeline.repos.http.req.DistrictBorderDTO
import com.sx.pipeline.repos.http.res.TerritoryVO

/**
 * @Author: YY
 * @Date: 2022/8/5
 * @Desc: TODO
 */
class DistrictBorderListAdapter(dataList: MutableList<DistrictBorderDTO>): BaseQuickAdapter<DistrictBorderDTO, BaseViewHolder>(
    R.layout.item_territory_list, dataList) {

    override fun convert(holder: BaseViewHolder, item: DistrictBorderDTO) {
        holder.setText(R.id.tv_name, item.name)
    }
}